﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace ZZ
{
    public partial class SandBox : Form
    {
        public SandBox()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            openFileDialog1.ShowDialog();
        }

        private void openFileDialog1_FileOk(object sender, CancelEventArgs e)
        {
            string[] b = openFileDialog1.FileNames;

            for (int i = 0; i < 100000; i++)
            {
                string rez = BI.hlpHttp.SinglInstance.SendHttpFiles("http://localhost:61496/sandbox.ashx", b);               
            }

        }

        private void button2_Click(object sender, EventArgs e)
        {
            UI.ExceptionCustomForm.Instance.ShowModal(new Exception("test"),
                "проверка", "проверочка", "retry", "abort");
        }

        private void button3_Click(object sender, EventArgs e)
        {
            UI.AboutBox ab = new UI.AboutBox();
            ab.ShowDialog();
        }
    }
}
